let Service = require('node-windows').Service

let svc = new Service({
  name: 'ALDStationApiService',
  description: '机房本地WebApi服务',
  script: 'E:/Project/2017/api'
})

svc.on('install', () => {
  svc.start()
})

svc.install()
